import javax.annotation.Resource;
import org.apache.log4j.Logger;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import com.alibaba.fastjson.JSON;
import com.white.hot.dto.User;
import com.white.hot.service.UserService;

@RunWith(SpringJUnit4ClassRunner.class)

@ContextConfiguration(locations =
{ "classpath:spring-mybatis.xml" })
public class test
{

	private static Logger logger = Logger.getLogger(test.class);
	// private ApplicationContext ac = null;
	@Resource
	private UserService userService = null;

	// @Before
	// public void before() {
	// ac = new ClassPathXmlApplicationContext("applicationContext.xml");
	// userService = (IUserService) ac.getBean("userService");
	// }

	@Test
	public void test1()
	{
	}
}
